<template>
	<view class="wrapper">
		<view class="list">
			<view class="listurl"  @tap="jumpNavigateTo('/pages/user/mysetting')">
				<view class="left">个人设置</view>
				<view class="right">注册手机号、头像、昵称<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
			<view class="listurl" @tap="jumpNavigateTo('/pages/user/securitysetting')">
				<view class="left">安全设置</view>
				<view class="right">安全设置<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
		</view>
		<view class="list">
			<view class="listurl" @tap="jumpNavigateTo('/pages/user/agreement/collect')">
				<view class="left">个人信息收集与使用</view>
				<view class="right"><uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
			<view class="listurl" @tap="jumpNavigateTo('/pages/user/agreement/thirdparty')">
				<view class="left">个人信息与第三方共享清单</view>
				<view class="right"><uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
		</view>
		<view class="list">
			<view class="listurl" @tap="jumpNavigateTo('/pages/user/agreement/agreement')">
				<view class="left">协议条款</view>
				<view class="right">免责条款、隐私协议<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
			<view class="listurl" @tap="clear">
				<view class="left">清理缓存</view>
				<view class="right">缓存占用24.21M<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods: {
			clear() {
				uni.showModal({
					title: '温馨提示',
					content: '是否清楚缓存?',
					confirmColor: '#EA0E00',
					cancelColor: '#999999'
				})
			},
			jumpNavigateTo(url) {
				uni.navigateTo({
					url: url
				})
			}
		}
	}
</script>

<style lang="scss">
	page{
		width: 100%;
		height: 100%;
		background-color: #F6F4F9;
	}
	.wrapper {
		height: 100%;
		box-sizing: border-box;
	}
	.list{
		width: 100%;
		padding: 0 33rpx;
		margin-top: 32rpx;
		margin-bottom: 32rpx;
		box-sizing: border-box;
		background-color: #fff;
		border-radius: 12rpx;
		.listurl{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 93rpx;
			border-bottom: 1rpx solid #E5E5E5;
			.left{
				font-weight: bold;
				font-size: 28rpx;
				color: #262626;
			}
			.right{
				display: flex;
				align-items: center;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
			}
		}
	}
</style>